@import '../../app/base';
.modal-root {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    width: 100%;
    visibility: hidden;
    text-align: center;
    &.visible {
        visibility: visible;
    }
    .mask {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s;
        &.modal-show {
            opacity: 1;
        }
    }
    .modal-container {
        overflow: auto;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        height: 100%;
        z-index: 999;
        outline: 0;
        transition: transform 0.3s cubic-bezier(0.8, -0.5, 0.2, 1.4);
    }
    &.pop-modal>.modal-container {
        transform: translate3d(0, -100%, 0);
        &.modal-show {
            transform: translate3d(0, 0, 0);
        }
    }
    &.alert-modal>.modal-container {
        transform: scale(0);
        &.modal-show {
            transform: scale(1);
        }
    }
    .left {
        float: left;
    }
    .iconfont {
        cursor: pointer;
    }
    .sline{
        display: inline-block;
        height: 100%;
        width: 1px;
        margin-left: -1px;
        vertical-align: middle;
    }
    .modal-content {
        display: inline-block;
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
        border-radius: 10px;
        min-width: 450px;
        vertical-align: middle;
        text-align left
        .modal-title {
            margin: 0;
            font-size: 18px;
            line-height: 1;
            color: #000;
            padding: 15px;
            background: #f8f8f8;
            border-radius: 10px 10px 0 0;
            border-bottom: 1px solid #f3f3f3;
        }
        .con {

            .desc {
                font-size: 15px;
                color: #888;
                padding: 20px 20px;
                line-height: 1.5;
                overflow: auto;
            }
            .modal-footer {
                position: relative;
                border-top: 1px solid #ddd;
                width: 450px;
                padding-top: 10px;
                padding-bottom: 10px;
                display: flex;
                justify-content: flex-end;
               button{
                   margin-right: 20px;
               }
            }

        }
    }
}

.pop-modal {
    .con{
        padding: 15px;
        input {
            // height: 40px;
            font-size: 14px;
            padding: 6px 12px;
            background-color: #fff;
            background-image: none;
            border: 1px solid #ccc;
            border-radius: 6px;
        }
    }
    .btn-block {
        width: 60%;
        margin-left: auto;
        margin-right: auto;
        padding: 7px 8px;
    }
}
